<?php


namespace addon\hotel\event;

use addon\hotel\model\OrderCommon;
use app\model\hotel\Hotel;


/**
 *
 */
class CronHotelRoomIncStock
{

    public function handle($data)
    {
        $order = new OrderCommon();
        $result = $order->orderRoomIncStock($data[ "relate_id" ]);//订单自动关闭
        return $result;

    }
}